<?php
include("AllWeb.inc.php");

$_isDBExist = "no";
foreach($arrWeb as $strWeb){
	print $strWeb."\n";
	print "=======================================\n";
	$_SERVER["DOCUMENT_ROOT"] = "/home/share/www/".$strWeb."/secure";
	
	include($_SERVER["DOCUMENT_ROOT"]."/db.inc.php");

	$strSQL = "SHOW TABLE STATUS WHERE Engine = 'InnoDB' ";
	if(!$RS = mysql_query($strSQL, $_ConnMaster)){
		$strError = "SQL: ".$strSQL."<br>\n";
		$strError .= "Error: ".mysql_error($_ConnMaster)."<br>\n\n";
		print $strError;
		continue;
	}

	if(mysql_num_rows($RS) == 0)print "No InnoDB";
	if(mysql_num_rows($RS) < 11)print "Lew InnoDB";
	print "\n\n";
}
?>